<?php
class SpaUtil
{
  var $tablePrefix = NULL;
  
  function __construct(){
    $this->tablePrefix['spaservice_spacategory'] = "sca";
  }
  
  function setTablePrefix(){

  }
  
  function getTablePrefix(){
    
  }
  
  function getTablePrefixByTableName($table = null){
    $this->tablePrefix['spaservice_spacategory'] = "sca";
    
    if($table == null){
      return FALSE;
    }
    if(!isset($this->tablePrefix[$table])){
      return FALSE;
    }
    
    return $this->tablePrefix[$table];
  }
}

?>